import request from '@/utils/request'

export function laReport(query) {
  return request({
    url: 'living-allowances/report',
    method: 'get',
    params: {
      approvalKey: query.approvalKey,
      startTime: query.startTime,
      endTime: query.endTime
    }
  })
}

export function esReport(query) {
  return request({
    url: 'educational-support/report',
    method: 'get',
    params: {
      startTime: query.startTime,
      endTime: query.endTime
    }
  })
}
